﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Pg.BioMedics.SDR.Entities
{
    /// <summary>
    /// Search result encapsulation entity
    /// </summary>
    [Serializable]
    [DataContract]
    public class SearchResult
    {
        #region Properties

        /// <summary>
        /// Gets / sets document unique id
        /// </summary>
        [DataMember]
        public int DocumentId
        {
            get;
            set;
        }

        /// <summary>
        /// Gets / sets result relevance score
        /// </summary>
        [DataMember]
        public double RelevanceScore
        {
            get;
            set;
        }

        #endregion
    }
}
